home *** CD-ROM | disk | FTP | other *** search
- // SampleView.h : interface of the CSampleView class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- #if !defined(AFX_SAMPLEVIEW_H__91A7D122_DE5A_11D1_9CB1_000000000000__INCLUDED_)
- #define AFX_SAMPLEVIEW_H__91A7D122_DE5A_11D1_9CB1_000000000000__INCLUDED_
-
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
-
- class CSampleView : public CFormView
- {
- protected: // create from serialization only
- CSampleView();
- DECLARE_DYNCREATE(CSampleView)
-
- public:
- //{{AFX_DATA(CSampleView)
- enum{ IDD = IDD_SAMPLE_FORM };
- CTabCtrl m_TabCtrl;
- //}}AFX_DATA
-
- // Attributes
- public:
- CSampleDoc* GetDocument();
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CSampleView)
- public:
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- virtual void OnInitialUpdate();
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- virtual ~CSampleView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
- CDialog m_TabPage1;
- CDialog m_TabPage2;
- CDialog m_TabPage3;
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CSampleView)
- afx_msg void OnSelchangeTab(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnSelchangingTab(NMHDR* pNMHDR, LRESULT* pResult);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- #ifndef _DEBUG // debug version in SampleView.cpp
- inline CSampleDoc* CSampleView::GetDocument()
- { return (CSampleDoc*)m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_SAMPLEVIEW_H__91A7D122_DE5A_11D1_9CB1_000000000000__INCLUDED_)
-